<style>
this {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: none;
}
.j-sidebar {
  position: absolute;
  top: 0;
  height: 100%;
  -webkit-transition: transform 250ms;
  transition: transform 250ms;
}
</style>
<div>
  <j-mask :show="show" @action="action"></j-mask>
  <div class="j-sidebar" :style="styleObject">
    <slot></slot>
  </div>
</div>